package com.xinhe.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "adapay地址详情")
@Table(name = "tb_adapay_address")
public class AdapaAddress {
    @Id
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("地址编码")
    private String addrCode;
    @ApiModelProperty("地址名称")
    private String addrName;
    @ApiModelProperty("级别")
    private Integer level;
    @ApiModelProperty("上级Id")
    private Long parentId;
    @ApiModelProperty("类型(1：商户进件，2：商户入驻)")
    private Integer type;

    @ApiModelProperty("标注")
    private String remark;
    @ApiModelProperty("版本数")
    private Integer version_num;
    @ApiModelProperty("是否被移除 0否 1是")
    private Integer removed;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("创建人")
    private Long fCreateUserId;
    @ApiModelProperty("更新人")
    private Long fUpdateUserId;
}
